package com.hjq.demo.http.model;

import com.google.gson.annotations.SerializedName;

import java.util.List;

public class AppM {

    /**
     * code
     */
    @SerializedName("code")
    private Integer code;
    /**
     * msg
     */
    @SerializedName("msg")
    private String msg;
    /**
     * time
     */
    @SerializedName("time")
    private String time;
    /**
     * data
     */
    @SerializedName("data")
    private DataDTO data;

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public DataDTO getData() {
        return data;
    }

    public void setData(DataDTO data) {
        this.data = data;
    }

    public static class DataDTO {
        /**
         * qrcodePath
         */
        @SerializedName("qrcode_path")
        private String qrcodePath;
        /**
         * voice
         */
        @SerializedName("voice")
        private String voice;
        /**
         * remindMinute
         */
        @SerializedName("remind_minute")
        private String remindMinute;
        /**
         * backImg
         */
        @SerializedName("back_img")
        private String backImg;
        /**
         * setMeal
         */
        @SerializedName("set_meal")
        private List<SetMealDTO> setMeal;
        /**
         * banner
         */
        @SerializedName("banner")
        private List<BannerDTO> banner;
        /**
         * serviceMobile
         */
        @SerializedName("service_mobile")
        private String serviceMobile;
        /**
         * businessMobile
         */
        @SerializedName("business_mobile")
        private String businessMobile;
        /**
         * hospitalName
         */
        @SerializedName("hospital_name")
        private String hospitalName;

        public String getQrcodePath() {
            return qrcodePath;
        }

        public void setQrcodePath(String qrcodePath) {
            this.qrcodePath = qrcodePath;
        }

        public String getVoice() {
            return voice;
        }

        public void setVoice(String voice) {
            this.voice = voice;
        }

        public String getRemindMinute() {
            return remindMinute;
        }

        public void setRemindMinute(String remindMinute) {
            this.remindMinute = remindMinute;
        }

        public String getBackImg() {
            return backImg;
        }

        public void setBackImg(String backImg) {
            this.backImg = backImg;
        }

        public List<SetMealDTO> getSetMeal() {
            return setMeal;
        }

        public void setSetMeal(List<SetMealDTO> setMeal) {
            this.setMeal = setMeal;
        }

        public List<BannerDTO> getBanner() {
            return banner;
        }

        public void setBanner(List<BannerDTO> banner) {
            this.banner = banner;
        }

        public String getServiceMobile() {
            return serviceMobile;
        }

        public void setServiceMobile(String serviceMobile) {
            this.serviceMobile = serviceMobile;
        }

        public String getBusinessMobile() {
            return businessMobile;
        }

        public void setBusinessMobile(String businessMobile) {
            this.businessMobile = businessMobile;
        }

        public String getHospitalName() {
            return hospitalName;
        }

        public void setHospitalName(String hospitalName) {
            this.hospitalName = hospitalName;
        }

        public static class SetMealDTO {
            /**
             * id
             */
            @SerializedName("id")
            private Integer id;
            /**
             * name
             */
            @SerializedName("name")
            private String name;
            /**
             * price
             */
            @SerializedName("price")
            private String price;
            /**
             * duration
             */
            @SerializedName("duration")
            private Integer duration;

            public Integer getId() {
                return id;
            }

            public void setId(Integer id) {
                this.id = id;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getPrice() {
                return price;
            }

            public void setPrice(String price) {
                this.price = price;
            }

            public Integer getDuration() {
                return duration;
            }

            public void setDuration(Integer duration) {
                this.duration = duration;
            }
        }

        public static class BannerDTO {
            /**
             * id
             */
            @SerializedName("id")
            private Integer id;
            /**
             * type
             */
            @SerializedName("type")
            private Integer type;
            /**
             * image
             */
            @SerializedName("image")
            private String image;

            public Integer getId() {
                return id;
            }

            public void setId(Integer id) {
                this.id = id;
            }

            public Integer getType() {
                return type;
            }

            public void setType(Integer type) {
                this.type = type;
            }

            public String getImage() {
                return image;
            }

            public void setImage(String image) {
                this.image = image;
            }
        }
    }
}
